﻿/**
 * ...
 * @author	Kliment
 * @version	1.0.1
 */
class kliment.utils.FileType {
	static public function get PNG():String { return 'png' }
	static public function get JPG():String { return 'jpg' }
	static public function get JPEG():String { return 'jpeg' }
	static public function get GIF():String { return 'gif' }
	static public function get SWF():String { return 'swf' }
	static public function get FLV():String { return 'flv' }
	static public function get MP3():String { return 'mp3' }
	static public function get XML():String { return 'xml' }
	static public function get TXT():String { return 'txt' }
	
	static public function define(file_name:String):String {
		return file_name.substring(file_name.lastIndexOf('.') + 1, file_name.length).toLowerCase();
	}
}